]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
8 years agopolkitAgent: Queue authentication requests while locked
Florian Müllner [Fri, 6 Apr 2018 17:54:27 +0000 (19:54 +0200)]
polkitAgent: Queue authentication requests while locked

While polkit requests *should* be the result of a user action, that's
not always the case in practice and authentication dialogs can pop up
out of nowhere at any time. That's always annoying, but particularly
bad on the lock screen. If we disabled the polkit component altogether,
the fallback GTK-based agent would kick in, so instead handle the case
explicitly and postpone showing the dialog until the session is unlocked.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/179

8 years agoappFavorites: Rename gnome-tweaks.desktop
Jeremy Bicha [Fri, 6 Apr 2018 02:06:15 +0000 (22:06 -0400)]
appFavorites: Rename gnome-tweaks.desktop

8 years agosystem: Align submenu labels with parent - adjust for deeper hierarchies
Andy Holmes [Mon, 2 Apr 2018 21:54:43 +0000 (14:54 -0700)]
system: Align submenu labels with parent - adjust for deeper hierarchies

Adjust the previous commit which applied the alignment to :first-child
descendants, instead of only immediate children. This fixes alignment
issues for a number of Shell extensions by making it easier to override
with a .popup-menu-item style-subclass.

8 years agoUpdate French translation
Guillaume Bernard [Tue, 27 Mar 2018 12:26:10 +0000 (12:26 +0000)]
Update French translation

8 years agoUpdate Arabic translation
Khaled Hosny [Sun, 25 Mar 2018 20:16:13 +0000 (22:16 +0200)]
Update Arabic translation

8 years agoUpdate Dutch translation
Hannie Dumoleyn [Fri, 23 Mar 2018 09:12:25 +0000 (09:12 +0000)]
Update Dutch translation

8 years agomodalDialog: Remove some unused code
Florian Müllner [Fri, 2 Mar 2018 23:31:00 +0000 (00:31 +0100)]
modalDialog: Remove some unused code

No need to figure out an x_alignment variable that hasn't been used
since commit 0722c06275a3d ...

8 years agoAdded Slovenian translation
Matej Urbančič [Tue, 20 Mar 2018 21:37:08 +0000 (22:37 +0100)]
Added Slovenian translation

8 years agoUpdate zh_CN translation
Dz Chen [Tue, 20 Mar 2018 09:03:11 +0000 (17:03 +0800)]
Update zh_CN translation

8 years agobuild: Bump required glib version
Jeremy Bicha [Mon, 19 Mar 2018 20:44:41 +0000 (16:44 -0400)]
build: Bump required glib version

Required by 723c49a8

Thanks Marcus Lundblad for identifying this issue.

8 years agoUpdate Dutch translation
Nathan Follens [Sun, 18 Mar 2018 10:35:18 +0000 (10:35 +0000)]
Update Dutch translation

8 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Fri, 16 Mar 2018 22:42:50 +0000 (22:42 +0000)]
Update Brazilian Portuguese translation

8 years agoUpdate Slovak translation
Dušan Kazik [Fri, 16 Mar 2018 21:34:03 +0000 (21:34 +0000)]
Update Slovak translation

8 years agoUpdate Romanian translation
Daniel Șerbănescu [Thu, 15 Mar 2018 18:37:20 +0000 (18:37 +0000)]
Update Romanian translation

8 years agoinputMethod: Pass all key events through the current IM method
Carlos Garnacho [Thu, 15 Mar 2018 13:01:51 +0000 (14:01 +0100)]
inputMethod: Pass all key events through the current IM method

Even though we are using an "xkb" source, it still makes sense to
pass the event through the IBus simple engine, in order to let it
handle compose keys and ctrl+shift+[u|e].

https://gitlab.gnome.org/GNOME/gnome-shell/issues/115

Closes: #115
8 years agoUpdate Russian translation
Stas Solovey [Wed, 14 Mar 2018 19:59:53 +0000 (19:59 +0000)]
Update Russian translation

8 years agoshellEntry: Use correct enum for input purpose hints
Carlos Garnacho [Tue, 13 Mar 2018 14:22:15 +0000 (15:22 +0100)]
shellEntry: Use correct enum for input purpose hints

This was mistakenly left using the GTK+ counterparts. Luckily the enums
are binary compatible, but oops.

8 years agoshell-global: Do not deal with allocated strings as const char
Carlos Garnacho [Tue, 27 Feb 2018 13:20:47 +0000 (14:20 +0100)]
shell-global: Do not deal with allocated strings as const char

The imagedir and userdatadir variables are not fetched from
constants/environment but created with g_strdup*/g_build*. Acknowledge that
and also free the strings in finalize.

8 years agoBump version to 3.28.0
Florian Müllner [Mon, 5 Mar 2018 22:48:04 +0000 (23:48 +0100)]
Bump version to 3.28.0

Update NEWS.

8 years agoUpdate Hungarian translation
Balázs Úr [Mon, 12 Mar 2018 06:02:34 +0000 (06:02 +0000)]
Update Hungarian translation

8 years agoUpdate Swedish translation
Anders Jonsson [Sun, 11 Mar 2018 20:36:26 +0000 (20:36 +0000)]
Update Swedish translation

8 years agoUpdate Catalan translation
Jordi Mas [Sat, 10 Mar 2018 20:30:17 +0000 (21:30 +0100)]
Update Catalan translation

8 years agoUpdate Chinese (Taiwan) translation
Chao-Hsiung Liao [Sat, 10 Mar 2018 12:31:16 +0000 (12:31 +0000)]
Update Chinese (Taiwan) translation

8 years agoUpdate Croatian translation
gogo [Wed, 7 Mar 2018 21:47:09 +0000 (21:47 +0000)]
Update Croatian translation

8 years agoUpdate Punjabi translation
A S Alam [Wed, 7 Mar 2018 11:57:04 +0000 (11:57 +0000)]
Update Punjabi translation

8 years agoBump version to 3.27.92
Florian Müllner [Mon, 5 Mar 2018 22:29:38 +0000 (23:29 +0100)]
Bump version to 3.27.92

Update NEWS.

8 years agothunderbolt: honor boltd's AuthMode property
Christian Kellner [Mon, 5 Mar 2018 20:05:32 +0000 (21:05 +0100)]
thunderbolt: honor boltd's AuthMode property

boltd 0.2 gained a property that indicates if it is authorizing
devices or not. If it indeed is not authorizing then we wont
try to enroll new devices because that would otherwise lead to
and error.

8 years agothunderbolt: adapt to bolt 0.2 interface changes
Christian Kellner [Mon, 5 Mar 2018 20:03:20 +0000 (21:03 +0100)]
thunderbolt: adapt to bolt 0.2 interface changes

All enums are now strings on the bus. Also the Device.Security
property is gnome. Some new properties got added instead.

8 years agoviewSelector: Don't mark synth event as in capture phase
Florian Müllner [Tue, 27 Feb 2018 22:34:09 +0000 (23:34 +0100)]
viewSelector: Don't mark synth event as in capture phase

When we move keyboard focus to the search entry, we replay the key press
that triggered the move to the entry using ClutterActor's event() method.
Since commit 3b293e91e we specify that the event is in the capture phase
to make it work with StIMText, but now that commit 83accce24 removed it,
we have to return to the expected non-capture flag that matches the orig-
inal event to unbreak find-as-you-type functionality.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/72

8 years agoviewSelector: Don't duplicate find-as-you-type in captured-event
Florian Müllner [Tue, 27 Feb 2018 17:52:35 +0000 (18:52 +0100)]
viewSelector: Don't duplicate find-as-you-type in captured-event

Find-as-you type was never automatically handled by StIMText, but
by the existing stage key-press handler. The functionality broke
for a different reason, we will fix it after reverting the recent
captured-event changes.

This reverts commits bc4462cd0c1abb9 and e4ee944d8d6.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/72

8 years agoUpdated Danish translation
Alan Mortensen [Mon, 5 Mar 2018 14:55:14 +0000 (15:55 +0100)]
Updated Danish translation

8 years agoUpdate Russian translation
Stas Solovey [Mon, 5 Mar 2018 12:46:50 +0000 (12:46 +0000)]
Update Russian translation

8 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sun, 4 Mar 2018 18:09:02 +0000 (18:09 +0000)]
Update Latvian translation

8 years agoUpdate French translation
Alain Lojewski [Sat, 3 Mar 2018 10:21:59 +0000 (10:21 +0000)]
Update French translation

8 years agomessageList: Fix invisible close buttons still working
Florian Müllner [Fri, 23 Feb 2018 09:27:07 +0000 (10:27 +0100)]
messageList: Fix invisible close buttons still working

Since commit c4f2bb5f, close buttons are hidden by making them fully
transparent rather than setting their visibility to false to keep
the overall message layout stable. As a result, the buttons now work
even when invisible, which is clearly unexpected - fix this by updating
the reactive property appropriately.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/66

8 years agomenutracker: Fix a small memory leak
Florian Müllner [Mon, 26 Feb 2018 18:21:56 +0000 (19:21 +0100)]
menutracker: Fix a small memory leak

https://gitlab.gnome.org/GNOME/gnome-shell/issues/64

8 years agoUpdated Lithuanian translation
Aurimas Černius [Wed, 28 Feb 2018 21:40:44 +0000 (23:40 +0200)]
Updated Lithuanian translation

8 years agoUpdate Dutch translation
GNOME Translation Robot [Mon, 26 Feb 2018 21:31:44 +0000 (21:31 +0000)]
Update Dutch translation

8 years agoUpdated Czech translation
Marek Cernocky [Mon, 26 Feb 2018 17:05:31 +0000 (18:05 +0100)]
Updated Czech translation

8 years agoUpdated Czech translation
Marek Cernocky [Mon, 26 Feb 2018 17:00:00 +0000 (18:00 +0100)]
Updated Czech translation

8 years agoUpdate Scottish Gaelic translation
GNOME Translation Robot [Mon, 26 Feb 2018 12:55:58 +0000 (12:55 +0000)]
Update Scottish Gaelic translation

(cherry picked from commit 4d598b32949a23bc6120ff544ec7aec5117b0bb5)

8 years agoUpdate Scottish Gaelic translation
GNOME Translation Robot [Mon, 26 Feb 2018 12:49:37 +0000 (12:49 +0000)]
Update Scottish Gaelic translation

(cherry picked from commit e1b9babac57743bc1d5b745678cc04d7c79e1c71)

8 years agoUpdate Italian translation
Milo Casagrande [Mon, 26 Feb 2018 08:09:42 +0000 (08:09 +0000)]
Update Italian translation

8 years agoUpdated Vietnamese translation
Trần Ngọc Quân [Mon, 26 Feb 2018 00:30:59 +0000 (07:30 +0700)]
Updated Vietnamese translation

Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
8 years agoUpdate Hungarian translation
Balázs Úr [Sun, 25 Feb 2018 19:54:54 +0000 (19:54 +0000)]
Update Hungarian translation

8 years agoUpdate Turkish translation
Furkan Ahmet Kara [Sun, 25 Feb 2018 15:49:46 +0000 (15:49 +0000)]
Update Turkish translation

8 years agoUpdate Korean translation
Changwoo Ryu [Sun, 25 Feb 2018 14:48:41 +0000 (14:48 +0000)]
Update Korean translation

8 years agoUpdate Slovak translation
Dušan Kazik [Sat, 24 Feb 2018 17:09:59 +0000 (17:09 +0000)]
Update Slovak translation

8 years agoUpdate Chinese (Taiwan) translation
Cheng-Chia Tseng [Sat, 24 Feb 2018 13:18:53 +0000 (13:18 +0000)]
Update Chinese (Taiwan) translation

8 years agoUpdate German translation
Wolfgang Stöggl [Fri, 23 Feb 2018 15:06:44 +0000 (15:06 +0000)]
Update German translation

8 years agoUpdate Spanish translation
Daniel Mustieles [Fri, 23 Feb 2018 07:27:14 +0000 (07:27 +0000)]
Update Spanish translation

8 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 21 Feb 2018 16:58:07 +0000 (17:58 +0100)]
Updated Spanish translation

8 years agobuild: Bump mutter API version
Jonas Ådahl [Wed, 21 Feb 2018 15:43:18 +0000 (23:43 +0800)]
build: Bump mutter API version

The API number was updated, let's keep up.

8 years agoBump version to 3.27.91
Florian Müllner [Wed, 21 Feb 2018 16:46:08 +0000 (17:46 +0100)]
Bump version to 3.27.91

Update NEWS.

8 years agoRevert "build: Bump mutter API version"
Florian Müllner [Wed, 21 Feb 2018 16:54:06 +0000 (17:54 +0100)]
Revert "build: Bump mutter API version"

Mutter only bumped the API version after 3.27.91 was released, so
don't require it for gnome-shell's 3.27.91 release.

8 years agobuild: Bump mutter API version
Jonas Ådahl [Wed, 21 Feb 2018 15:43:18 +0000 (23:43 +0800)]
build: Bump mutter API version

The API number was updated, let's keep up.

8 years agocleanup: Use Function.prototype.bind()
Florian Müllner [Sat, 2 Dec 2017 00:27:35 +0000 (01:27 +0100)]
cleanup: Use Function.prototype.bind()

When not using arrow notation with anonymous functions, we use Lang.bind()
to bind `this` to named callbacks. However since ES5, this functionality
is already provided by Function.prototype.bind() - in fact, Lang.bind()
itself uses it when no extra arguments are specified. Just use the built-in
function directly where possible, and use arrow notation in the few places
where we pass additional arguments.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/23

8 years agocleanup: Use arrow notation for anonymous functions
Florian Müllner [Tue, 31 Oct 2017 00:38:18 +0000 (01:38 +0100)]
cleanup: Use arrow notation for anonymous functions

Arrow notation is great, use it consistently through-out the code base
to bind `this` to anonymous functions, replacing the more overbose
Lang.bind(this, function() {}).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/23

8 years agocleanup: Use method syntax
Florian Müllner [Tue, 31 Oct 2017 00:03:21 +0000 (01:03 +0100)]
cleanup: Use method syntax

Modern javascript has a short-hand for function properties, embrace
it for better readability and to prepare for an eventual port to
ES6 classes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/23

8 years agotests: Set calendar event source
Florian Müllner [Wed, 21 Feb 2018 13:03:18 +0000 (14:03 +0100)]
tests: Set calendar event source

Ever since commit e9e30138bd6 (2011!), the calendar only initialized
the header at construction time. Set an event source to trigger an
update of the content area, which is what the test is mainly intended
for.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38

8 years agotests: Fix import error in calendar
Florian Müllner [Wed, 21 Feb 2018 11:28:20 +0000 (12:28 +0100)]
tests: Fix import error in calendar

The Calendar module requires C_ at import time, which is only
available after Environment.init() has been called.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38

8 years agotests: Fix a warning
Florian Müllner [Wed, 21 Feb 2018 11:40:55 +0000 (12:40 +0100)]
tests: Fix a warning

Gjs now warns about excess parameters passed to functions, so don't
use Gtk.main_quit directly as signal callback.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38

8 years agotests: Replace "for each" construct
Florian Müllner [Tue, 6 Feb 2018 22:25:29 +0000 (23:25 +0100)]
tests: Replace "for each" construct

It is no longer supported by recent mozjs versions, so replace it with
a regular for loop to unbreak the tests.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38

8 years agotests: Avoid redeclarations with let
Florian Müllner [Tue, 6 Feb 2018 22:21:39 +0000 (23:21 +0100)]
tests: Avoid redeclarations with let

Mozjs made this error fatal a while ago, so those tests were broken
by gjs' JS engine updates.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38

8 years agotests: Fix gnome-shell theme import
Florian Müllner [Wed, 21 Feb 2018 12:01:56 +0000 (13:01 +0100)]
tests: Fix gnome-shell theme import

The current import rule fails in two ways:
 - commit c62e7a6a moved the theme's stylesheet to the builddir
 - since commit 49c4ba56, assets are addressed as resource:// URIs

Fix both issues by loading and referencing the theme resource instead
of the stylesheet itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38

8 years agokeyboard: Fix a warning
Florian Müllner [Wed, 21 Feb 2018 12:09:48 +0000 (13:09 +0100)]
keyboard: Fix a warning

imports.misc.ibusManager.IBus is declared as const, so referencing it
from another module triggers a warning with recent mozjs. As of commit
083d11a0327 IBus is mandatory, so just make it a regular import to avoid
the warning.

8 years agoUpdate Serbian translation
Марко Костић [Wed, 21 Feb 2018 09:51:44 +0000 (09:51 +0000)]
Update Serbian translation

8 years agoRemove po/Makevars
Piotr Drąg [Tue, 20 Feb 2018 23:02:41 +0000 (00:02 +0100)]
Remove po/Makevars

Meson doesn’t use it, and Damned Lies learned to read po/meson.build.

8 years agologinDialog: only emit session-activated on user action
Ray Strode [Thu, 13 Nov 2014 14:26:52 +0000 (09:26 -0500)]
loginDialog: only emit session-activated on user action

Right now we emit session-activated any time the bullet
moves in the session menu. That includes at startup when
picking an item arbitrarily, and any time GDM reports the
session was read from the user's account settings.

session-activated informs GDM about the newly selected session,
so emitting it in response to GDM reporting a session is a
bad idea.

This commit changes the code to only emit session-activated when
the user explicitly activates a session item from the gear menu.

Note, we no longer set the active session explicitly at start up.
This is a good thing since the item we were picking wasn't
necessarily correct.  It does means if GDM fails to inform us
about the correct default session we'll now show no bullet instead
of a bullet on the wrong item.

https://bugzilla.gnome.org/show_bug.cgi?id=740142

8 years agogdm: use password authentication if all schemes are disabled
Ray Strode [Wed, 1 Jul 2015 15:18:44 +0000 (11:18 -0400)]
gdm: use password authentication if all schemes are disabled

This prevents a traceback, at least.

8 years agogdm: honor timed login delay even if animations disabled
Ray Strode [Tue, 18 Aug 2015 16:02:17 +0000 (12:02 -0400)]
gdm: honor timed login delay even if animations disabled

gnome-shell currently initiates an automatic login attempt if
timed login is enabled and the timed login animation completes.

Unfortunately, if animations are disabled (as is the case for
virtual machines) then the timed login animation will complete
instantly, and timed login will proceed immediately after gnome-shell
has noticed the user is idle for 5 seconds.

This commit addresses that problem by initiating timed login and the
animation from a main loop timeout, instead of using the tweener api.

8 years agobuild: Minor cleanups
Florian Müllner [Tue, 20 Feb 2018 09:24:24 +0000 (10:24 +0100)]
build: Minor cleanups

find_program() defaults to require the program in question, and as
failing to locate it is now fatal, there's no longer a need for
checking whether it was found later.

Spotted by Michael Catanzaro.

8 years agoUpdate Serbian Latin translation
Милош Поповић [Tue, 20 Feb 2018 10:02:15 +0000 (10:02 +0000)]
Update Serbian Latin translation

8 years agoUpdate Serbian translation
Борисав Живановић [Tue, 20 Feb 2018 10:01:08 +0000 (10:01 +0000)]
Update Serbian translation

8 years agotheme: use cantarell light
Jakub Steiner [Wed, 14 Feb 2018 15:42:56 +0000 (16:42 +0100)]
theme: use cantarell light

- lock screen
- date in the calendar popover

fixes issue #45

8 years agotheme: use cantarell light
Jakub Steiner [Wed, 14 Feb 2018 15:42:56 +0000 (16:42 +0100)]
theme: use cantarell light

- lock screen
- date in the calendar popover

fixes issue #45

8 years agoUpdate Friulian translation
Fabio Tomat [Mon, 19 Feb 2018 12:41:20 +0000 (12:41 +0000)]
Update Friulian translation

8 years agoUpdate British English translation
Bruce Cowan [Sun, 18 Feb 2018 10:45:31 +0000 (10:45 +0000)]
Update British English translation

8 years agoUpdate Catalan translation
Robert Antoni Buj Gelonch [Sun, 18 Feb 2018 08:19:38 +0000 (08:19 +0000)]
Update Catalan translation

8 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sun, 18 Feb 2018 04:11:37 +0000 (04:11 +0000)]
Update Kazakh translation

8 years agoUpdate Croatian translation
gogo [Sat, 17 Feb 2018 00:04:56 +0000 (00:04 +0000)]
Update Croatian translation

8 years agotheme: Update OSK theme
Carlos Garnacho [Thu, 15 Feb 2018 17:57:19 +0000 (18:57 +0100)]
theme: Update OSK theme

Enter/shift/layout/hide buttons have been made to use our own assets, key
labels have been made slightly bigger, and incorrect padding has been
removed from the extended keys popovers.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/46

8 years agokeyboard: Set 'latched' pseudo-class on latched shift key
Carlos Garnacho [Thu, 15 Feb 2018 13:48:46 +0000 (14:48 +0100)]
keyboard: Set 'latched' pseudo-class on latched shift key

This is pseudo-class is added on .shift-key-uppercase whenever the shift
state is latched, a matching selector would be:
.keyboard-key.shift-key-uppercase:latched {}

https://gitlab.gnome.org/GNOME/gnome-shell/issues/46

8 years agokeyboard: Delegate enter/shift/layout/hide buttons style to theming
Carlos Garnacho [Thu, 15 Feb 2018 12:46:19 +0000 (13:46 +0100)]
keyboard: Delegate enter/shift/layout/hide buttons style to theming

Drop the UTF8 glyphs from those, and add style classes so those can be
specifically themed and given a background image. The style classes are:
.keyboard-key.enter-key{}
.keyboard-key.shift-key-lowercase{} /* applies while lowercase */
.keyboard-key.shift-key-uppercase{} /* applies while uppercase */
.keyboard-key.layout-key{}
.keyboard-key.hide-key{}

https://gitlab.gnome.org/GNOME/gnome-shell/issues/46

8 years agokeyboard: Avoid using key.label for anything else than presentation
Carlos Garnacho [Thu, 15 Feb 2018 12:23:54 +0000 (13:23 +0100)]
keyboard: Avoid using key.label for anything else than presentation

Do the finicky checks to adjust key widths and whatnot based on other
values than the label. This makes the label exclusively used for
presentation (i.e. setting up a St.Label).

https://gitlab.gnome.org/GNOME/gnome-shell/issues/46

8 years agokeyboard: Shift key shouldn't latch the state unless long pressed
Carlos Garnacho [Thu, 15 Feb 2018 11:20:51 +0000 (12:20 +0100)]
keyboard: Shift key shouldn't latch the state unless long pressed

Instead of latching all states, make shift unlatched by default, and only
latched when making a long press on the key. When not latched, the keyboard
will switch to the first level (alphabetic lowercase) after the first key
press.

Also, move the actual level switch to Key::pressed, so it feels more
reactive on long press.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/46

8 years agokeyboard: Implement Key object 'long-press' signal
Carlos Garnacho [Thu, 15 Feb 2018 11:18:59 +0000 (12:18 +0100)]
keyboard: Implement Key object 'long-press' signal

This signal may be emitted on any key, regardless of extended keys, so
make the timeout useful for both situations.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/46

8 years agokeyboard: Remove needless function
Carlos Garnacho [Wed, 14 Feb 2018 11:46:48 +0000 (12:46 +0100)]
keyboard: Remove needless function

It boils down to another function call, and has a single caller. Just let
the caller make _setActiveLayer() directly.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/46

8 years agokeyboard: Do key presses on actual key press
Carlos Garnacho [Wed, 14 Feb 2018 11:39:27 +0000 (12:39 +0100)]
keyboard: Do key presses on actual key press

It was mistakenly connecting twice to the 'released' signal. Also, move
level changes to key release, since it will be more convenient to hook
latched states on long press.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/46

8 years agokeyboard: make Key objects' topmost actor to be this.actor
Carlos Garnacho [Sun, 11 Feb 2018 15:19:10 +0000 (16:19 +0100)]
keyboard: make Key objects' topmost actor to be this.actor

These objects created this.actor being the St.Button, and a surrounding
this.container actor that is the actual actor callers care about. Turn this
around and make this.actor be the parent-less actor, and this.keyButton the
contained internal button. This is more consistent with gnome-shell style.

8 years agokeyboard: Do not call non-existent function
Carlos Garnacho [Sun, 11 Feb 2018 15:15:14 +0000 (16:15 +0100)]
keyboard: Do not call non-existent function

Commit 8fdf47ea5b5 removed _addKeys(), but forgot one caller. We just want
to regenerate the keyboard for the current group, so call into the
_onGroupChanged function.

8 years agoUpdate Brazilian Portuguese translation
Enrico Nicoletto [Mon, 12 Feb 2018 13:49:03 +0000 (13:49 +0000)]
Update Brazilian Portuguese translation

8 years agoUpdate Indonesian translation
Kukuh Syafaat [Sat, 10 Feb 2018 15:05:17 +0000 (15:05 +0000)]
Update Indonesian translation

8 years agoUpdate Turkish translation
Emin Tufan Çetin [Sat, 10 Feb 2018 08:16:39 +0000 (08:16 +0000)]
Update Turkish translation

8 years agobuild: Make sassc mandatory and always generate CSS files from Sass sources
Mario Sanchez Prada [Wed, 7 Feb 2018 12:31:50 +0000 (12:31 +0000)]
build: Make sassc mandatory and always generate CSS files from Sass sources

The previous implementation of the CSS generation logic considered sassc
an optional dependency and made sure for that reason that the result CSS
files ended up in the source directory, so that they could be checked
in and kept in sync with the source sass files.

As we are making sassc a required dependency, we can now stop doing that
extra work and simply rely on the CSS files being automatically generated
each time the sass sources change. By doing this, we can now effectively
get rid of the CSS files checked in the repo as well as of the parse_sass.sh
script, since the CSS files will now live on the build directory only.

https://bugzilla.gnome.org/show_bug.cgi?id=792822

8 years agoappDisplay: Fix small app folder icons when using HIDPI
Nikita Churaev [Fri, 5 Jan 2018 23:54:33 +0000 (02:54 +0300)]
appDisplay: Fix small app folder icons when using HIDPI

While the scale factor is taken into account for app icons, we set
an explicit size when combining the into a folder icon - unless we
take the factor into account, the result will be too small on HiDPI
displays.

https://bugzilla.gnome.org/show_bug.cgi?id=792259

8 years agoviewSelector: Avoid stealing focus from other entries into overview entry
Carlos Garnacho [Fri, 9 Feb 2018 23:18:26 +0000 (00:18 +0100)]
viewSelector: Avoid stealing focus from other entries into overview entry

The captured-event handler just redirects focus there on the first keypress,
what it doesn't account for is that other entries may be active while the
Activities overview is opened (eg. alt-f2, or other modal dialogs). Play
along with other entries, and make it only steal focus if no other entry
is selected.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/33

Closes: #33
8 years agoUpdate Brazilian Portuguese translation
Enrico Nicoletto [Fri, 9 Feb 2018 23:57:38 +0000 (23:57 +0000)]
Update Brazilian Portuguese translation

8 years agoUpdate Friulian translation
Fabio Tomat [Fri, 9 Feb 2018 23:36:06 +0000 (23:36 +0000)]
Update Friulian translation

8 years agotheme: Replace gnome-shell-sass submodule with subtree
Florian Müllner [Fri, 9 Feb 2018 18:22:55 +0000 (19:22 +0100)]
theme: Replace gnome-shell-sass submodule with subtree

As the style has grown bigger and more complex, generating the different
variants from a common source has been a good decision. However given how
intertwined the theme is with gnome-shell itself, relying on a submodule
has proven to be quite painful. And as things stand right now, it is going
to get worse:

 - using either pre-generated CSS or generating it at build time is
   odd, and violates meson's strict separation between source- and
   build directories; we are therefore considering dropping the CSS
   and depending on sassc to always generate it at build time

 - with the migration to gitlab, our workflow shifts decisively towards
   branches; however there is no support in either git or gitlab for
   handling two brances of separate repositories consecutively, which
   gets particularly awkward for branches in a private namespace

With those pain points in mind, we will adjust our setup as follows:

 - remove the submodule from gnome-shell and instead import the
   sass as subtree

 - after that, the sass sources can be changed like any other files
   in the repository, and regular contributors can forget that there
   was ever anything special about them

 - whenever we want to update the classic style, we can push the subtree
   changes and bump gnome-shell-extension's sass submodule

In other words: Updating the classic styling will become slightly more
painful, but not much and only for me; in return, everyone else can
stop fiddling with submodules (and buy me a beer).